Dynomotion

Group: DynoMotion Message: 6159 From: dotma99 Date: 11/25/2012
Subject: Send message on error
Hi Tom

My kflop/kanalog driven project is working well, but I have a couple of (simple?) questions:

A: I am currently using an M code to fire a simple windows executable which sends me a text or email when a job is finished.

Is there a way in code of firing an executable when, for example, a limit switch is hit?

B: I am using KmotionCNC without Mach3. Is there way of showing feed rates in KmotionCNC in the same way that Mach3 does?

best regards

Edward
Group: DynoMotion Message: 6164 From: Tom Kerekes Date: 11/25/2012
Subject: Re: Send message on error
Hi Edward,

Regarding:

A - I believe you could write a "watchdog" C program to watch the enables in KFLOP and if any become disabled you could "push" a Custom User Button in KMotionCNC. See the example call:

    DoPCInt(PC_COMM_USER_BUTTON,8);

in KFLOPtoPCCmdExamples.c

The Custom User Button would be configured to execute a Windows program to send an email.  You can "hide" the User Button by not specifying any button text.

B - We will try to add a small feed rate display

Regards
TK